import request from "@/utils/request.js";
const common = {
	//根据经纬度获取城市
	getCityByLat: (data) => request.post("/api/xilumarket/common/get_city_by_lat", data, {
		noAuth: true,
	}),
	//获取验证啊
	getVerificationCode: (data) => request.post("/api/sms/send", data, {
		noAuth: true,
	}),
	// 保存手机号
	setPhoneCode: (data) => request.post("/api/user/parentMobile", data, {
		noAuth: true,
	}),
	getParentMobile: (data) => request.post("/api/user/getParentMobile", data, {
		noAuth: true,
	}),
	//获取用户配置
	getUserConfig: (data) => request.post("/api/xilumarket/config/get_config", data, {
		noAuth: true,
	}),
	//获取城市数据
	getAreaTree: (data) => request.post("/api/xilumarket/common/area_tree", data, {
		noAuth: true,
	}),
	//获取协议文章
	getAgreementArticle: (data) => request.post("/api/xilumarket/singlepage/article", data, {
		noAuth: true,
	}),
	//获取轮播图列表
	getBannerList: (data) => request.post("/api/xilumarket/banner/banners", data, {
		noAuth: true,
	}),
	//获取轮播图详情
	getBannerDetail: (data) => request.post("/api/xilumarket/banner/banners", data, {
		noAuth: true,
	}),
	//获取帮助中心问题
	getQuestiont: (data) => request.post("/api/xilumarket/article/lists", data, {
		noAuth: true,
	}),
	//获取帮助中心问题详情
	getQuestiontDetail: (data) => request.post("/api/xilumarket/article/detail", data, {
		noAuth: true,
	}),
	//Ai聊天
	sendAiMessage: (data) => request.post("/api/dpseek/ai_word/generate", data, {
		noAuth: true,
	}),
	getApplicationVersionLatest: (data) => request.post("/api/index/getapppackage", data, {
		noAuth: true
	}),
	xjVideo:(data) => request.post("/api/xilumarket/user/noStatus", data, {
		noAuth: true
	})
};
export default common;